package com.amran.dynamic.multitenant.common;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.fasterxml.jackson.annotation.JsonIgnore;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@MappedSuperclass
public abstract class BaseEntity {
	@JsonIgnore
	@Column(insertable = false, updatable = false)
	private Date createTime;
	@JsonIgnore
	@Column(insertable = false, updatable = false)
	private Date updateTime;
	@JsonIgnore
	private Date deleteTime;
}